package cn.edu.neusoft.mall.Dao.impl;

import cn.edu.neusoft.framework.db.JDBCTemplate;
import cn.edu.neusoft.mall.Dao.getLoveDao;

public class getLoveDaoImpl implements getLoveDao {
    @Override
    public int addLoveDao(int cartId, int userId) {

        String sql = "insert into userlove(user_id, query_number) values(?,?)";
        return JDBCTemplate.update(sql,cartId,userId );
    }
}
